package dbManage;

import javax.swing.JPanel;
import javax.swing.JButton;

import java.awt.Color;

import javax.swing.JLabel;

import java.awt.Font;
import java.awt.Cursor;
import java.awt.Dimension;
import java.io.Serializable;

public class MenuPanel extends JPanel implements Serializable {
	
	private JButton invoiceButton, inWorkButton;
	private JLabel timeLabel, dateLabel;
	
	/**
	 * Create the panel.
	 */
	public MenuPanel() {
		setPreferredSize(new Dimension(600, 400));
		setBackground(new Color(176, 196, 222));
		setBorder(null);
		setLayout(null);
		
		invoiceButton = new JButton("Invoices");
		invoiceButton.setFont(new Font("Courier New", Font.PLAIN, 16));
		invoiceButton.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
		invoiceButton.setBounds(225, 195, 150, 29);
		add(invoiceButton);
		
		JLabel lblMariettaDrapery = new JLabel("Marietta Drapery");
		lblMariettaDrapery.setFont(new Font("Courier New", Font.PLAIN, 28));
		lblMariettaDrapery.setBounds(164, 21, 272, 33);
		add(lblMariettaDrapery);
		
		JLabel lblAccountsReceivable = new JLabel("Accounts Receivable");
		lblAccountsReceivable.setFont(new Font("Courier New", Font.PLAIN, 28));
		lblAccountsReceivable.setBounds(138, 60, 323, 33);
		add(lblAccountsReceivable);
		
		JLabel lblDatabase = new JLabel("Database");
		lblDatabase.setFont(new Font("Courier New", Font.PLAIN, 28));
		lblDatabase.setBounds(232, 99, 136, 33);
		add(lblDatabase);
		
		timeLabel = new JLabel("");
		timeLabel.setFont(new Font("Trebuchet MS", Font.PLAIN, 14));
		timeLabel.setBounds(10, 31, 110, 18);
		add(timeLabel);
		
		dateLabel = new JLabel("");
		dateLabel.setFont(new Font("Trebuchet MS", Font.PLAIN, 14));
		dateLabel.setBounds(10, 11, 110, 18);
		add(dateLabel);
		
		inWorkButton = new JButton("In Work");
		inWorkButton.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
		inWorkButton.setFont(new Font("Courier New", Font.PLAIN, 16));
		inWorkButton.setBounds(225, 155, 150, 29);
		add(inWorkButton);
	}
	
	public JButton getInvoiceButton() {
		return invoiceButton;
	}

	public void setInvoiceButton(JButton invoiceButton) {
		this.invoiceButton = invoiceButton;
	}

	public JButton getInWorkButton() {
		return inWorkButton;
	}

	public void setInWorkButton(JButton inWorkButton) {
		this.inWorkButton = inWorkButton;
	}

	public JLabel getTimeLabel() {
		return timeLabel;
	}

	public void setTimeLabel(JLabel timeLabel) {
		this.timeLabel = timeLabel;
	}

	public JLabel getDateLabel() {
		return dateLabel;
	}

	public void setDateLabel(JLabel dateLabel) {
		this.dateLabel = dateLabel;
	}
}